﻿module Lhz.Interface.ServiceCenter {
    export interface InvokeArguments<TResult> {
        applicationNo?: string;
        serviceNo: string;
        operationNo: string;
        arguments?: any[];
        async?: boolean;
        data?: any;
        successCallback?: (Result: Result<TResult>, data: any) => void;
        errorCallback?: (data: any) => void;
        completedCallback?: (data: any) => void;
    }
    export interface InvokeArgumentsList {
        applicationNos?: string[];
        serviceNos: string[];
        operationNos: string[];
        argumentsList?: any[][];
        async?: boolean;
        data?: any;
        successCallback?: (Result: Result<any>[], data: any) => void;
        errorCallback?: (data: any) => void;
        completedCallback?: (data: any) => void;
    }
}
